package com.yunpuvip.sachet.biz.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 赠送信息
 * </p>
 *
 * @author griftt
 * @since 2019-08-27
 */
@TableName("mb_gift_info")
public class GiftInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 金额1
     */
    @TableField("amount_one")
    private BigDecimal amountOne;

    /**
     * 金额2
     */
    @TableField("amount_two")
    private BigDecimal amountTwo;

    /**
     * 赠送余额
     */
    @TableField("gift_Amount")
    private BigDecimal giftAmount;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 过期时间
     */
    @TableField("expire_date")
    private Date expireDate;

    /**
     * 部门id
     */
    @TableField("deptid")
    private Integer deptid;

    /**
     * 新增时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 记录状态
     */
    @TableField("record_status")
    private Integer recordStatus;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getAmountOne() {
        return amountOne;
    }

    public void setAmountOne(BigDecimal amountOne) {
        this.amountOne = amountOne;
    }

    public BigDecimal getAmountTwo() {
        return amountTwo;
    }

    public void setAmountTwo(BigDecimal amountTwo) {
        this.amountTwo = amountTwo;
    }

    public BigDecimal getGiftAmount() {
        return giftAmount;
    }

    public void setGiftAmount(BigDecimal giftAmount) {
        this.giftAmount = giftAmount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getRecordStatus() {
        return recordStatus;
    }

    public void setRecordStatus(Integer recordStatus) {
        this.recordStatus = recordStatus;
    }

    @Override
    public String toString() {
        return "GiftInfo{" +
        "id=" + id +
        ", amountOne=" + amountOne +
        ", amountTwo=" + amountTwo +
        ", giftAmount=" + giftAmount +
        ", status=" + status +
        ", remark=" + remark +
        ", expireDate=" + expireDate +
        ", deptid=" + deptid +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", recordStatus=" + recordStatus +
        "}";
    }
}
